package innerclass;

/**
 * @author ZhuQi
 * @ClassName Demo
 * @Date 2022/11/11 15:48
 * @Version 1.0
 * @Description TODO
 */
public class Demo {
    public static void main(String[] args) {
        PigBird pigBird = new PigBird("小王", () -> "爬");
        System.out.println(pigBird.doFly());
    }
}
